package com.hmy.contract.common.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author seven.qi 齐胜南
 * @version 1.0
 * @description
 * @date 2023/12/24 13:32
 */

@Component
@ConfigurationProperties
@Data
public class LessorInfoProperties {

    @Value("${lessorInfo.name}")
    private String name;
    @Value("${lessorInfo.address}")
    private String address;
    @Value("${lessorInfo.zipCode}")
    private String zipCode;
    @Value("${lessorInfo.receivingAccount}")
    private String receivingAccount;
    @Value("${lessorInfo.bankName}")
    private String bankName;

}
